home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / shell / ViNCEd.lha / ViNCEd / Include / lib / ReadMe next >
Encoding:
Text File  |  1998-08-22  |  1.6 KB  |  39 lines

  1. The files in this drawer are link libraries containing stub routines 
  2. for the SAS/Lattice C. You MAY use direct library calls to VNC without 
  3. stub routines, although this is NOT RECOMMENDED. There is a small difference 
  4. between the stub and the raw library functions: For quite a lot raw entry 
  5. points the register a5 MUST contain a pointer to the ViNCWindow structure. 
  6. This is not necessary if you use the stub-routines, but you MUST set the 
  7. window affected with SetCNWindow() before calling functions of this type.
  8. This is a service ONLY available by the stub-routines. It simplifies the
  9. work of the compiler a lot since register a5 can be used better for other
  10. purposes.
  11.  
  12. The stub routines are NOT available for the Manx/Aztec compiler cause this
  13. compiler uses a private, non compatible library format.
  14.  
  15. If you want to use this compiler, you MUST use direct library calls. 
  16. I haven't tested this method, it is possible that you get problems because 
  17. the register a5 is used. You may also contact me if you need the 
  18. stub routines for a different compiler...
  19.  
  20. vnc.stub.lib
  21.    Standard library stub routines: No base relative addressing, parameters
  22.    are passed in the stack.
  23.  
  24. vnc.stub.base.lib
  25.    Stub routines for base relative adressing. The base register is a4, as
  26.    used by Lattice/SAS.
  27.  
  28. vnc.stub.rr.lib
  29.    Stub routines for registerized parameters with no base relative
  30.    addressing. The first two integer arguments are passed in d0,d1, the
  31.    first two pointers in a0,a1. This is the SAS convention for passing
  32.    arguments.
  33.  
  34. vnc.stub.rr.base.lib
  35.    Stub routines for registerized parameters and base relative addressing
  36.    with register a4
  37.  
  38. Thomas Richter.
  39.